package com.csii.pos.activiti.service;

import com.csii.pos.scaleplan.IfbScalePlan;
import java.util.List;
import java.util.Map;

/**
 * ActivitiScalePlanService
 * @Author: zhanghao
 * @description: 规模计划审批流程service
 * @Date: 2021/7/22 13:51
 * @Version: 1.0
 */
public interface ActivitiScalePlanService {

    //部署流程
    void deploy();
    //启动流程
    void start(IfbScalePlan ifbScalePlan);
    //批量完成提交申请
    void submit(List<IfbScalePlan> ifbScalePlanList);
    //删除流程实例
    void delete(List<IfbScalePlan> ifbScalePlanList);
    //审批人员同意
    void agreeByApprover(IfbScalePlan ifbScalePlan);
    //审批人拒绝
    void rejectByApprover(IfbScalePlan ifbScalePlan);
    //审批人驳回
    void refuteByApprover(IfbScalePlan ifbScalePlan);
    //查询所有状态为 1-审批中 的数据
    List<IfbScalePlan> findAllInfo(Map<String,String> map);
    //启动和提交
    void startAndSubmit(IfbScalePlan ifbScalePlan);
    //启动流程和提交申请
    //void startAndSubmit(UofPlanPo uofPlanPo);
}
